package com.jae.model.user;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;
import org.springframework.security.core.GrantedAuthority;

import java.util.Collection;
import java.util.Date;

@Data
public class UserDTO {
    private Integer user_id;
    private String username;
    @JsonIgnore
    private String password;
    private Date created_time;
    private Date last_login_time;
    private Integer state;
    private Integer is_deleted;
    Collection<? extends GrantedAuthority> authorities;
}
